function translate (str) {
  str = str.replace('el-icon', '')
  str = str.replace('</el-icon>', '')
  str = str.replace('<', '')
  str = str.replace('>', '')
  str = str.replace('/', '')
  str = str.replace('<', '')
  str = str.replace(' >', '')
  return str
}
const strArr = [
  '<el-icon><Plus /></el-icon>',
  '<el-icon><Minus /></el-icon>',
  '<el-icon><CirclePlus /></el-icon>',
  '<el-icon><Search /></el-icon>',
  '<el-icon><Female /></el-icon>',
  '<el-icon><Male /></el-icon>',
  '<el-icon><Aim /></el-icon>',
  '<el-icon><House /></el-icon>',
  '<el-icon><FullScreen /></el-icon>',
  '<el-icon><Loading /></el-icon>',
  '<el-icon><Link /></el-icon>',
  '<el-icon><ChatDotRound /></el-icon>',
  '<el-icon><ChatRound /></el-icon>',
  '<el-icon><CircleCheck /></el-icon>'
]

const arr = []
for (let i = 0; i < strArr.length; i++) {
  arr.push(translate(strArr[i]))
}

console.log(arr)
